import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const routes = [
 
 
  {
    path: "/executeCheck",
    name: "executeCheck",
    component: () => import("../views/executeCheck.vue"),
    children:[
      // {
      //   path: "/",
      //   name: "aa",
      //   component:()=> import("../views/aa.vue"),
      // },
      {
        path: "zongbu",
        name: "zongbu",
        component:()=> import("../views/zongbu.vue"),
      },
      {
        path: "address",
        name:"address",
        component: () => import("../views/sheng.vue"),
      },
      {
        path: "beijing",
        name:"beijing",
        component: () => import("../components/executeCheck/beijing/beijing"),
      },
      {
        path: "anhui",
        name:"anhui",
        component: () => import("../components/executeCheck/anhui/anhui"),
      },
      {
        path: "chongqing",
        name:"chongqing",
        component: () => import("../components/executeCheck/chonqin/chonqin"),
      },
      {
        path: "fujian",
        name:"fujian",
        component: () => import("../components/executeCheck/fujian/fujian"),
      },
      {
        path: "gansu",
        name:"gansu",
        component: () => import("../components/executeCheck/gansu/gansu"),
      },
      {
        path: "hebei",
        name:"hebei",
        component: () => import("../components/executeCheck/hebei/hebei"),
      },
      {
        path: "heilongjiang",
        name:"heilongjiang",
        component: () => import("../components/executeCheck/heilongjiang/heilongjiang"),
      },
      {
        path: "henan",
        name:"henan",
        component: () => import("../components/executeCheck/henan/henan"),
      }, 
      {
        path: "hubei",
        name:"hubei",
        component: () => import("../components/executeCheck/hubei/hubei"),
      },
      {
        path: "hunan",
        name:"hunan",
        component: () => import("../components/executeCheck/hunan/hunan"),
      },
      {
        path: "jiangsu",
        name:"jiangsu",
        component: () => import("../components/executeCheck/jiansu/jiansu"),
      },
      {
        path: "jiangxi",
        name:"jiangxi",
        component: () => import("../components/executeCheck/jianxi/jianxi"),
      },
      {
        path: "jibei",
        name:"jibei",
        component: () => import("../components/executeCheck/jibei/jibei"),
      },
      {
        path: "jilin",
        name:"jilin",
        component: () => import("../components/executeCheck/jiling/jiling"),
      },
      {
        path: "liaoning",
        name:"liaoning",
        component: () => import("../components/executeCheck/liaonin/liaonin"),
      },
      {
        path: "neimenggu",
        name:"neimenggu",
        component: () => import("../components/executeCheck/neimengu/neimengu"),
      },
      {
        path: "ningxia",
        name:"ningxia",
        component: () => import("../components/executeCheck/ningxia/ningxia"),
      },
      {
        path: "qinghai",
        name:"qinghai",
        component: () => import("../components/executeCheck/qinghai/qinghai"),
      },
      {
        path: "shandong",
        name:"shandong",
        component: () => import("../components/executeCheck/shandon/shandon"),
      },
      {
        path: "shanghai",
        name:"shanghai",
        component: () => import("../components/executeCheck/shanhai/shanhai"),
      },
      {
        path: "shanxiyi",
        name:"shanxiyi",
        component: () => import("../components/executeCheck/shanxi/shanxi"),
      },
      {
        path: "shanxisan",
        name:"shanxisan",
        component: () => import("../components/executeCheck/shanxijing/shanxijing"),
      },
      {
        path: "sichuan",
        name:"sichuan",
        component: () => import("../components/executeCheck/sichuan/sichuan"),
      },
      {
        path: "tianjin",
        name:"tianjin",
        component: () => import("../components/executeCheck/tiangjing/tiangjing"),
      },
      {
        path: "xinjiang",
        name:"xinjiang",
        component: () => import("../components/executeCheck/xingjian/xingjian"),
      },
      {
        path: "xizang",
        name:"xizang",
        component: () => import("../components/executeCheck/xizan/xizan"),
      },
      {
        path: "zhejiang",
        name:"zhejiang",
        component: () => import("../components/executeCheck/zhejian/zhejian"),
      },
      {
        path: "default",
        name: "default",
        component: () => import("../views/default.vue"),
      },
    ]
  }, 
  {
    path: "/scene",
    name: "scene",
    component: () => import("../views/scene.vue"),
    children: [
      {
        path: "/",
        name: "ascene",
        component: () => import("../views/ascene.vue"),
      },
      
      {
        path: "zongbu",
        name: "zongbu",
        component: () => import("../components/Target/index.vue"),
      },
      {
        path: "shanghai",
        name: "shanghai",
        component: () => import("../views/shanghai.vue"),
      },
      {
        path: "beijing",
        name: "beijing",
        component: () => import("../views/beijing.vue"),
      },
 
      {
        path: "default",
        name: "default",
        component: () => import("../views/default.vue"),
      },
  
  {
    path: "tianjin",
    name: "tianjin",
    component: () => import("../views/tianjin.vue"),
  },
  {
    path: "chongqing",
    name: "chongqing",
    component: () => import("../views/chongqing.vue"),
  },
  {
    path: "heilongjiang",
    name: "heilongjiang",
    component: () => import("../views/heilongjiang.vue"),
  },
  {
    path: "jilin",
    name: "jilin",
    component: () => import("../views/jilin.vue"),
  },
  {
    path: "liaoning",
    name: "liaoning",
    component: () => import("../views/liaoning.vue"),
  },
  {
    path: "neimenggu",
    name: "neimenggu",
    component: () => import("../views/neimenggu.vue"),
  },
  {
    path: "hebei",
    name: "hebei",
    component: () => import("../views/hebei.vue"),
  },
  {
    path: "xinjiang",
    name: "xinjiang",
    component: () => import("../views/xinjiang.vue"),
  },
  {
    path: "gansu",
    name: "gansu",
    component: () => import("../views/gansu.vue"),
  },
  {
    path: "qinghai",
    name: "qiaghai",
    component: () => import("../views/qinghai.vue"),
  },
  {
    path: "shanxiyi",
    name: "shanxiyi",
    component: () => import("../views/shanxi.vue"),
  },
  {
    path: "ningxia",
    name: "ningxia",
    component: () => import("../views/ningxia.vue"),
  },
  {
    path: "henan",
    name: "henan",
    component: () => import("../views/henan.vue"),
  },
  {
    path: "shandong",
    name: "shandong",
    component: () => import("../views/shandong.vue"),
  },
  {
    path: "shanxisan",
    name: "shanxisan",
    component: () => import("../views/shanxijing.vue"),
  },
  {
    path: "anhui",
    name: "anhui",
    component: () => import("../views/anhui.vue"),
  },
  {
    path: "hubei",
    name: "hubei",
    component: () => import("../views/hubei.vue"),
  },
  {
    path: "hunan",
    name: "hunan",
    component: () => import("../views/hunan.vue"),
  },
  {
    path: "jiangsu",
    name: "jiangsu",
    component: () => import("../views/jiangsu.vue"),
  },
  {
    path: "sichuan",
    name: "sichuan",
    component: () => import("../views/sichuan.vue"),
  },

  {
    path: "xizang",
    name: "xizang",
    component: () => import("../views/xizang.vue"),
  },
  {
    path: "zhejiang",
    name: "zhajiang",
    component: () => import("../views/zhejiang.vue"),
  },
  {
    path: "jiangxi",
    name: "jiangxi",
    component: () => import("../views/jiangxi.vue"),
  },
  {
    path: "jibei",
    name: "jibei",
    component: () => import("../views/jibei.vue"),
  },

  {
    path: "fujian",
    name: "fujian",
    component: () => import("../views/fujian.vue"),
      },
    ]
  },
];

const router = new VueRouter({
  mode: "hash",
  base: '/pis_pcd',
  routes,
});

export default router;
